class UserInfo {
  int id = 0;
  String name = "";
  String pwd = "";
  String token = "";

  UserInfo.fromJson(dynamic json) {
    id = json['ID'];
    name = json['Name'];
    token = json['token'];
  }

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    // map['ID'] = void;
    map['Name'] = name;
    map['token'] = token;
    return map;
  }
}
